package com.offcn.nacosconsumer.feign;

import com.offcn.nacosconsumer.feign.exception.ProviderFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "nacos-provider",fallback = ProviderFallback.class)
public interface ProviderFeign {

    @GetMapping("hello")
    public String hello();
}
